<!DOCTYPE HTML>
<html lang="zh-CN">


<head>
    <meta charset="utf-8">
    <meta name="keywords" content="标签, 算法与数据结构入门教程">
    <meta name="description" content="Java、Python3 语言实现，「专题」教程持续更新中...">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit|ie-stand|ie-comp">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <!-- Global site tag (gtag.js) - Google Analytics -->


    <title>标签 | 算法与数据结构入门教程</title>
    <link rel="icon" type="image/png" href="/leetcode-algo/favicon.png">

    <link rel="stylesheet" type="text/css" href="/leetcode-algo/libs/awesome/css/all.css">
    <link rel="stylesheet" type="text/css" href="/leetcode-algo/libs/materialize/materialize.min.css">
    <link rel="stylesheet" type="text/css" href="/leetcode-algo/libs/aos/aos.css">
    <link rel="stylesheet" type="text/css" href="/leetcode-algo/libs/animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/leetcode-algo/libs/lightGallery/css/lightgallery.min.css">
    <link rel="stylesheet" type="text/css" href="/leetcode-algo/css/matery.css">
    <link rel="stylesheet" type="text/css" href="/leetcode-algo/css/my.css">

    <script src="/leetcode-algo/libs/jquery/jquery.min.js"></script>

<meta name="generator" content="Hexo 4.2.0"><link rel="alternate" href="/leetcode-algo/atom.xml" title="算法与数据结构入门教程" type="application/atom+xml">
<link rel="stylesheet" href="/leetcode-algo/css/prism-tomorrow.css" type="text/css">
<link rel="stylesheet" href="/leetcode-algo/css/prism-line-numbers.css" type="text/css"></head>


<body>
    <header class="navbar-fixed">
    <nav id="headNav" class="bg-color nav-transparent">
        <div id="navContainer" class="nav-wrapper container">
            <div class="brand-logo">
                <a href="/leetcode-algo/" class="waves-effect waves-light">
                    
                    <img src="/leetcode-algo/medias/logo.png" class="logo-img" alt="LOGO">
                    
                    <span class="logo-span">算法与数据结构入门教程</span>
                </a>
            </div>
            

<a href="#" data-target="mobile-nav" class="sidenav-trigger button-collapse"><i class="fas fa-bars"></i></a>
<ul class="right nav-menu">
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/leetcode-algo/" class="waves-effect waves-light">
      
      <i class="fas fa-home" style="zoom: 0.6;"></i>
      
      <span>首页</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/leetcode-algo/tags" class="waves-effect waves-light">
      
      <i class="fas fa-tags" style="zoom: 0.6;"></i>
      
      <span>标签</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/leetcode-algo/categories" class="waves-effect waves-light">
      
      <i class="fas fa-bookmark" style="zoom: 0.6;"></i>
      
      <span>分类</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/leetcode-algo/archives" class="waves-effect waves-light">
      
      <i class="fas fa-archive" style="zoom: 0.6;"></i>
      
      <span>归档</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/leetcode-algo/about" class="waves-effect waves-light">
      
      <i class="fas fa-user-circle" style="zoom: 0.6;"></i>
      
      <span>关于</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/leetcode-algo/contact" class="waves-effect waves-light">
      
      <i class="fas fa-comments" style="zoom: 0.6;"></i>
      
      <span>留言板</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/leetcode-algo/friends" class="waves-effect waves-light">
      
      <i class="fas fa-address-book" style="zoom: 0.6;"></i>
      
      <span>友情链接</span>
    </a>
    
  </li>
  
  <li>
    <a href="#searchModal" class="modal-trigger waves-effect waves-light">
      <i id="searchIcon" class="fas fa-search" title="搜索" style="zoom: 0.85;"></i>
    </a>
  </li>
</ul>


<div id="mobile-nav" class="side-nav sidenav">

    <div class="mobile-head bg-color">
        
        <img src="/leetcode-algo/medias/logo.png" class="logo-img circle responsive-img">
        
        <div class="logo-name">算法与数据结构入门教程</div>
        <div class="logo-desc">
            
            Java、Python3 语言实现，「专题」教程持续更新中...
            
        </div>
    </div>

    

    <ul class="menu-list mobile-menu-list">
        
        <li class="m-nav-item">
	  
		<a href="/leetcode-algo/" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-home"></i>
			
			首页
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/leetcode-algo/tags" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-tags"></i>
			
			标签
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/leetcode-algo/categories" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-bookmark"></i>
			
			分类
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/leetcode-algo/archives" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-archive"></i>
			
			归档
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/leetcode-algo/about" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-user-circle"></i>
			
			关于
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/leetcode-algo/contact" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-comments"></i>
			
			留言板
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/leetcode-algo/friends" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-address-book"></i>
			
			友情链接
		</a>
          
        </li>
        
        
        <li><div class="divider"></div></li>
        <li>
            <a href="https://github.com/blinkfox/hexo-theme-matery" class="waves-effect waves-light" target="_blank">
                <i class="fab fa-github-square fa-fw"></i>Fork Me
            </a>
        </li>
        
    </ul>
</div>


        </div>

        
            <style>
    .nav-transparent .github-corner {
        display: none !important;
    }

    .github-corner {
        position: absolute;
        z-index: 10;
        top: 0;
        right: 0;
        border: 0;
        transform: scale(1.1);
    }

    .github-corner svg {
        color: #0f9d58;
        fill: #fff;
        height: 64px;
        width: 64px;
    }

    .github-corner:hover .octo-arm {
        animation: a 0.56s ease-in-out;
    }

    .github-corner .octo-arm {
        animation: none;
    }

    @keyframes a {
        0%,
        to {
            transform: rotate(0);
        }
        20%,
        60% {
            transform: rotate(-25deg);
        }
        40%,
        80% {
            transform: rotate(10deg);
        }
    }
</style>

<a href="https://github.com/blinkfox/hexo-theme-matery" class="github-corner tooltipped hide-on-med-and-down" target="_blank"
   data-tooltip="Fork Me" data-position="left" data-delay="50">
    <svg viewBox="0 0 250 250" aria-hidden="true">
        <path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
        <path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
              fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
        <path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
              fill="currentColor" class="octo-body"></path>
    </svg>
</a>
        
    </nav>

</header>

    <div class="bg-cover pd-header about-cover">
    <div class="container">
    <div class="row">
    <div class="col s10 offset-s1 m8 offset-m2 l8 offset-l2">
        <div class="brand">
            <div class="title center-align">
                
                力扣算法图解
                
            </div>

            <div class="description center-align">
                
                    Java、Python3 语言实现，「专题」教程持续更新中...
                
            </div>
        </div>
    </div>
</div>


<script>
    // 每天切换 banner 图.  Switch banner image every day.
    $('.bg-cover').css('background-image', 'url(/leetcode-algo/medias/banner/5.jpg)');
</script>


    </div>
</div>

<main class="content">

    

<div id="tags" class="container chip-container">
    <div class="card">
        <div class="card-content">
            <div class="tag-title center-align">
                <i class="fas fa-tags"></i>&nbsp;&nbsp;文章标签
            </div>
            <div class="tag-chips">
                
                
                <a href="/leetcode-algo/tags/%E6%8E%92%E5%BA%8F%E7%AE%97%E6%B3%95/" title="排序算法: 14">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="排序算法" style="background-color: #F9EBEA;">排序算法
                        <span class="tag-length">14</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%88%86%E6%B2%BB/" title="分治: 3">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="分治" style="background-color: #F5EEF8;">分治
                        <span class="tag-length">3</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E9%80%92%E5%BD%92/" title="递归: 81">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="递归" style="background-color: #D5F5E3;">递归
                        <span class="tag-length">81</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%88%86%E6%B2%BB%E7%AE%97%E6%B3%95/" title="分治算法: 14">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="分治算法" style="background-color: #E8F8F5;">分治算法
                        <span class="tag-length">14</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/partition/" title="partition: 8">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="partition" style="background-color: #FEF9E7;">partition
                        <span class="tag-length">8</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E4%BC%98%E5%85%88%E9%98%9F%E5%88%97/" title="优先队列: 7">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="优先队列" style="background-color: #F8F9F9;">优先队列
                        <span class="tag-length">7</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E4%BA%8C%E5%88%86%E6%9F%A5%E6%89%BE/" title="二分查找: 19">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="二分查找" style="background-color: #82E0AA;">二分查找
                        <span class="tag-length">19</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%87%8F%E6%B2%BB%E6%80%9D%E6%83%B3/" title="减治思想: 4">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="减治思想" style="background-color: #D7BDE2;">减治思想
                        <span class="tag-length">4</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%87%8F%E6%B2%BB%E7%AE%97%E6%B3%95/" title="减治算法: 14">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="减治算法" style="background-color: #A3E4D7;">减治算法
                        <span class="tag-length">14</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E4%BA%8C%E5%88%86%E6%B3%95/" title="二分法: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="二分法" style="background-color: #85C1E9;">二分法
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E6%95%B0%E7%BB%84/" title="数组: 34">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="数组" style="background-color: #F8C471;">数组
                        <span class="tag-length">34</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E6%BB%91%E5%8A%A8%E7%AA%97%E5%8F%A3/" title="滑动窗口: 23">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="滑动窗口" style="background-color: #F9E79F;">滑动窗口
                        <span class="tag-length">23</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%93%88%E5%B8%8C%E8%A1%A8/" title="哈希表: 18">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="哈希表" style="background-color: #A3E4D7;">哈希表
                        <span class="tag-length">18</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E6%95%A3%E5%88%97%E8%A1%A8/" title="散列表: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="散列表" style="background-color: #FEF9E7;">散列表
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%8D%95%E8%B0%83%E9%98%9F%E5%88%97/" title="单调队列: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="单调队列" style="background-color: #D7BDE2;">单调队列
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%BE%AA%E7%8E%AF%E4%B8%8D%E5%8F%98%E9%87%8F/" title="循环不变量: 16">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="循环不变量" style="background-color: #85C1E9;">循环不变量
                        <span class="tag-length">16</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%8E%9F%E5%9C%B0%E5%93%88%E5%B8%8C/" title="原地哈希: 2">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="原地哈希" style="background-color: #FEF9E7;">原地哈希
                        <span class="tag-length">2</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%AD%97%E7%AC%A6%E4%B8%B2/" title="字符串: 22">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="字符串" style="background-color: #D7BDE2;">字符串
                        <span class="tag-length">22</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%8D%95%E9%93%BE%E8%A1%A8/" title="单链表: 28">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="单链表" style="background-color: #D5F5E3;">单链表
                        <span class="tag-length">28</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%BF%AB%E6%85%A2%E6%8C%87%E9%92%88/" title="快慢指针: 3">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="快慢指针" style="background-color: #F8F9F9;">快慢指针
                        <span class="tag-length">3</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E8%B4%AA%E5%BF%83%E7%AE%97%E6%B3%95/" title="贪心算法: 10">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="贪心算法" style="background-color: #F9EBEA;">贪心算法
                        <span class="tag-length">10</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%8F%8C%E5%90%91%E9%93%BE%E8%A1%A8/" title="双向链表: 2">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="双向链表" style="background-color: #FFF;">双向链表
                        <span class="tag-length">2</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E9%93%BE%E8%A1%A8/" title="链表: 5">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="链表" style="background-color: #D5F5E3;">链表
                        <span class="tag-length">5</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E6%A0%88/" title="栈: 28">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="栈" style="background-color: #A3E4D7;">栈
                        <span class="tag-length">28</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%8F%8C%E6%8C%87%E9%92%88/" title="双指针: 8">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="双指针" style="background-color: #D5F5E3;">双指针
                        <span class="tag-length">8</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%BD%92%E5%B9%B6%E6%8E%92%E5%BA%8F/" title="归并排序: 2">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="归并排序" style="background-color: #F8F9F9;">归并排序
                        <span class="tag-length">2</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E9%98%9F%E5%88%97/" title="队列: 6">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="队列" style="background-color: #85C1E9;">队列
                        <span class="tag-length">6</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%A0%86/" title="堆: 2">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="堆" style="background-color: #F8F9F9;">堆
                        <span class="tag-length">2</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%B9%B6%E6%9F%A5%E9%9B%86/" title="并查集: 21">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="并查集" style="background-color: #D7BDE2;">并查集
                        <span class="tag-length">21</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E4%BA%8C%E5%8F%89%E6%A0%91/" title="二叉树: 31">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="二叉树" style="background-color: #D5F5E3;">二叉树
                        <span class="tag-length">31</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%8D%95%E8%B0%83%E6%A0%88/" title="单调栈: 8">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="单调栈" style="background-color: #F8F9F9;">单调栈
                        <span class="tag-length">8</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E7%B4%A2%E5%BC%95%E6%95%B0%E7%BB%84/" title="索引数组: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="索引数组" style="background-color: #F9E79F;">索引数组
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%9B%9E%E6%BA%AF%E7%AE%97%E6%B3%95/" title="回溯算法: 36">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="回溯算法" style="background-color: #FEF9E7;">回溯算法
                        <span class="tag-length">36</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E6%A0%91%E5%BD%A2%E9%97%AE%E9%A2%98/" title="树形问题: 36">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="树形问题" style="background-color: #F8F9F9;">树形问题
                        <span class="tag-length">36</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E6%B7%B1%E5%BA%A6%E4%BC%98%E5%85%88%E9%81%8D%E5%8E%86/" title="深度优先遍历: 36">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="深度优先遍历" style="background-color: #E8F8F5;">深度优先遍历
                        <span class="tag-length">36</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%8A%A8%E6%80%81%E8%A7%84%E5%88%92/" title="动态规划: 45">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="动态规划" style="background-color: #F8C471;">动态规划
                        <span class="tag-length">45</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E8%AE%B0%E5%BF%86%E5%8C%96%E9%80%92%E5%BD%92/" title="记忆化递归: 1">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="记忆化递归" style="background-color: #82E0AA;">记忆化递归
                        <span class="tag-length">1</span>
                    </span>
                </a>
                
                
                <a href="/leetcode-algo/tags/%E5%B9%BF%E5%BA%A6%E4%BC%98%E5%85%88%E9%81%8D%E5%8E%86/" title="广度优先遍历: 8">
                    <span class="chip center-align waves-effect waves-light
                             chip-default "
                            data-tagname="广度优先遍历" style="background-color: #F9EBEA;">广度优先遍历
                        <span class="tag-length">8</span>
                    </span>
                </a>
                
            </div>
        </div>
    </div>
</div>

    
    <link rel="stylesheet" type="text/css" href="/leetcode-algo/libs/jqcloud/jqcloud.css">
<style type="text/css">
    #tag-wordcloud {
        width: 100%;
        height: 300px;
    }
</style>

<div class="container" data-aos="fade-up">
    <div class="card">
        <div id="tag-wordcloud" class="card-content"></div>
    </div>
</div>

<script type="text/javascript" src="/leetcode-algo/libs/jqcloud/jqcloud-1.0.4.min.js"></script>
<script type="text/javascript">
    

    $('#tag-wordcloud').jQCloud([{"text":"排序算法","weight":14,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/排序算法/"},{"text":"分治","weight":3,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/分治/"},{"text":"递归","weight":81,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/递归/"},{"text":"分治算法","weight":14,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/分治算法/"},{"text":"partition","weight":8,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/partition/"},{"text":"优先队列","weight":7,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/优先队列/"},{"text":"二分查找","weight":19,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/二分查找/"},{"text":"减治思想","weight":4,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/减治思想/"},{"text":"减治算法","weight":14,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/减治算法/"},{"text":"二分法","weight":1,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/二分法/"},{"text":"数组","weight":34,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/数组/"},{"text":"滑动窗口","weight":23,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/滑动窗口/"},{"text":"哈希表","weight":18,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/哈希表/"},{"text":"散列表","weight":1,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/散列表/"},{"text":"单调队列","weight":1,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/单调队列/"},{"text":"循环不变量","weight":16,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/循环不变量/"},{"text":"原地哈希","weight":2,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/原地哈希/"},{"text":"字符串","weight":22,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/字符串/"},{"text":"单链表","weight":28,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/单链表/"},{"text":"快慢指针","weight":3,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/快慢指针/"},{"text":"贪心算法","weight":10,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/贪心算法/"},{"text":"双向链表","weight":2,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/双向链表/"},{"text":"链表","weight":5,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/链表/"},{"text":"栈","weight":28,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/栈/"},{"text":"双指针","weight":8,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/双指针/"},{"text":"归并排序","weight":2,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/归并排序/"},{"text":"队列","weight":6,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/队列/"},{"text":"堆","weight":2,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/堆/"},{"text":"并查集","weight":21,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/并查集/"},{"text":"二叉树","weight":31,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/二叉树/"},{"text":"单调栈","weight":8,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/单调栈/"},{"text":"索引数组","weight":1,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/索引数组/"},{"text":"回溯算法","weight":36,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/回溯算法/"},{"text":"树形问题","weight":36,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/树形问题/"},{"text":"深度优先遍历","weight":36,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/深度优先遍历/"},{"text":"动态规划","weight":45,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/动态规划/"},{"text":"记忆化递归","weight":1,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/记忆化递归/"},{"text":"广度优先遍历","weight":8,"link":"https://liweiwei1419.gitee.io/leetcode-algo/tags/广度优先遍历/"}], {
        autoResize: true
    });
</script>

    

</main>


    <footer class="page-footer bg-color">
    
    <div class="container row center-align" style="margin-bottom: 0px !important;">
        <div class="col s12 m8 l8 copy-right">
            Copyright&nbsp;&copy;
            <span id="year">2019</span>
            <a href="https://liweiwei1419.gitee.io/leetcode-algo" target="_blank">liweiwei1419</a>
            |&nbsp;Powered by&nbsp;<a href="https://hexo.io/" target="_blank">Hexo</a>
            |&nbsp;Theme&nbsp;<a href="https://github.com/blinkfox/hexo-theme-matery" target="_blank">Matery</a>
            <br>
            
            
            
            
            
            
            <span id="busuanzi_container_site_pv">
                |&nbsp;<i class="far fa-eye"></i>&nbsp;总访问量:&nbsp;<span id="busuanzi_value_site_pv"
                    class="white-color"></span>&nbsp;次
            </span>
            
            
            <span id="busuanzi_container_site_uv">
                |&nbsp;<i class="fas fa-users"></i>&nbsp;总访问人数:&nbsp;<span id="busuanzi_value_site_uv"
                    class="white-color"></span>&nbsp;人
            </span>
            
            <br>
            
            <br>
            
        </div>
        <div class="col s12 m4 l4 social-link social-statis">
    <a href="https://github.com/liweiwei1419" class="tooltipped" target="_blank" data-tooltip="访问我的GitHub" data-position="top" data-delay="50">
        <i class="fab fa-github"></i>
    </a>



    <a href="mailto:liweiwei1419@gmail.com" class="tooltipped" target="_blank" data-tooltip="邮件联系我" data-position="top" data-delay="50">
        <i class="fas fa-envelope-open"></i>
    </a>







    <a href="tencent://AddContact/?fromId=50&fromSubId=1&subcmd=all&uin=121088825" class="tooltipped" target="_blank" data-tooltip="QQ联系我: 121088825" data-position="top" data-delay="50">
        <i class="fab fa-qq"></i>
    </a>



    <a href="https://weibo.com/u/2194939432" class="tooltipped" target="_blank" data-tooltip="关注我的微博: https://weibo.com/u/2194939432" data-position="top" data-delay="50">
        <i class="fab fa-weibo"></i>
    </a>





    <a href="/leetcode-algo/atom.xml" class="tooltipped" target="_blank" data-tooltip="RSS 订阅" data-position="top" data-delay="50">
        <i class="fas fa-rss"></i>
    </a>

</div>
    </div>
</footer>

<div class="progress-bar"></div>


    <!-- 搜索遮罩框 -->
<div id="searchModal" class="modal">
    <div class="modal-content">
        <div class="search-header">
            <span class="title"><i class="fas fa-search"></i>&nbsp;&nbsp;搜索</span>
            <input type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字"
                   class="search-input">
        </div>
        <div id="searchResult"></div>
    </div>
</div>

<script src="/leetcode-algo/js/search.js"></script>
<script type="text/javascript">
$(function () {
    searchFunc("/leetcode-algo/search.xml", 'searchInput', 'searchResult');
});
</script>

    <!-- 回到顶部按钮 -->
<div id="backTop" class="top-scroll">
    <a class="btn-floating btn-large waves-effect waves-light" href="#!">
        <i class="fas fa-arrow-up"></i>
    </a>
</div>


    <script src="/leetcode-algo/libs/materialize/materialize.min.js"></script>
    <script src="/leetcode-algo/libs/masonry/masonry.pkgd.min.js"></script>
    <script src="/leetcode-algo/libs/aos/aos.js"></script>
    <script src="/leetcode-algo/libs/scrollprogress/scrollProgress.min.js"></script>
    <script src="/leetcode-algo/libs/lightGallery/js/lightgallery-all.min.js"></script>
    <script src="/leetcode-algo/js/matery.js"></script>

    <!-- Baidu Analytics -->

    <!-- Baidu Push -->

<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        } else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

    
    <script src="/leetcode-algo/libs/others/clicklove.js" async="async"></script>
    
    
    <script async src="/leetcode-algo/libs/others/busuanzi.pure.mini.js"></script>
    

    

    

    

    

    

    
    <script src="/leetcode-algo/libs/instantpage/instantpage.js" type="module"></script>
    

</body>

</html>
